package cn.iocoder.yudao.module.im.controller.admin.vo.status;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 用户在线状态响应VO
 *
 * @author 芋道源码
 */
@Schema(name = "用户在线状态响应VO")
@Data
public class UserStatusRespVO {

    @Schema(description = "ID", example = "1")
    private Long id;

    @Schema(description = "星球ID", example = "1")
    private Long planetId;

    @Schema(description = "用户ID", example = "1")
    private Long userId;

    @Schema(description = "在线状态", example = "1")
    private Integer status;

    @Schema(description = "设备ID", example = "device-1")
    private String deviceId;

    @Schema(description = "最后活跃时间")
    private LocalDateTime lastActiveTime;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    @Schema(description = "更新时间")
    private LocalDateTime updateTime;

}